package com.bdqn.demo02.logger;

/**
 * ATM
 *
 * @author LILIBO
 * @since 2022-09-27
 */
public interface ATM {

    /**
     * 转账
     *
     * @param accountFrom 转出账户
     * @param accountTo 转入账户
     * @param money 转多少钱
     * @return 是否成功
     */
    boolean transfer(Account accountFrom, Account accountTo, double money);

}
